# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.

from odoo import api, fields, models


class BizPartner(models.Model):
    _name = "fp.biz.partner"
    _description = "Biz Partner"
    _order = 'code'

    fp_partner_id = fields.Many2one(
        'fp.partner', string='FP Partner', index=True, ondelete='restrict')

    code = fields.Char(string='Code', required=True)
    name = fields.Char(string='Name', required=True)
